package com.quanyan.user.model.vo.response;

import scala.Int;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by jian.zhou on 2016/6/30.
 * 用户任务
 */
public class RespUserTask implements Serializable {

    private static final long serialVersionUID = 1409215756644180109L;

    /**
     * 用户任务id
     */
    private Integer userTaskId=0;

    /**
     * 系统任务id
     */
    private Integer taskId;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务类型  1 新手 2 日常
     */
    private Byte type;

    /**
     * 任务规则：必须完成的次数
     */
    private Integer taskNum;

    /**
     * 任务说明
     */
    private String remark = "";

    /**
     * 任务状态：未完成，领取
     */
    private Byte status;

    /**
     * 已完成次数
     */
    private Integer completedNum = 0;

    //任务奖励鸟蛋数量
    private BigDecimal reward = new BigDecimal(0);

    /**
     * 经验
     */
    private Integer experience;


    private String taskIcon="";


    public Integer getUserTaskId() {
        return userTaskId;
    }

    public void setUserTaskId(Integer userTaskId) {
        this.userTaskId = userTaskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Integer getTaskNum() {
        return taskNum;
    }

    public void setTaskNum(Integer taskNum) {
        this.taskNum = taskNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getCompletedNum() {
        return completedNum;
    }

    public void setCompletedNum(Integer completedNum) {
        this.completedNum = completedNum;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }


    public BigDecimal getReward() {
        return reward;
    }

    public void setReward(BigDecimal reward) {
        this.reward = reward;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public String getTaskIcon() {
        return taskIcon;
    }

    public void setTaskIcon(String taskIcon) {
        this.taskIcon = taskIcon;
    }

    @Override
    public String toString() {
        return "RespUserTask{" +
                "userTaskId=" + userTaskId +
                ", taskId=" + taskId +
                ", taskName='" + taskName + '\'' +
                ", type=" + type +
                ", taskNum=" + taskNum +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                ", completedNum=" + completedNum +
                ", reward=" + reward +
                ", experience=" + experience +
                ", taskIcon='" + taskIcon + '\'' +
                '}';
    }
}
